import Vue from 'vue'
import Vuex from 'vuex'
import mutations from "./mutations";
import actions from "./actions";

Vue.use(Vuex);
const state ={
  shopInfo:[],//存储加入购物车的商品
  kindShop:[],//存储分类页面的各个分类的商品
};
const store = new Vuex.Store({
  state,
  mutations,
  actions,
});
export default store